package com.krtech.wecard.module.sys.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
    * 部门操作日志 
    */
@ApiModel(value="com-krtech-wecard-module-sys-entity-DeptOperateLog")
@Data
@TableName(value = "sys_dept_operate_log")
public class DeptOperateLog implements Serializable {
    /**
     * id
     */
    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="id")
    private Integer id;

    /**
     * 创建人
     */
    @TableField(value = "CREATED_BY")
    @ApiModelProperty(value="创建人")
    private String createdBy;

    /**
     * 创建时间
     */
    @TableField(value = "CREATED_TIME")
    @ApiModelProperty(value="创建时间")
    private Date createdTime;

    /**
     * 变更部门名称
     */
    @TableField(value = "dept_name")
    @ApiModelProperty(value="变更部门名称")
    private String deptName;

    /**
     * 变更部门code
     */
    @TableField(value = "dept_code")
    @ApiModelProperty(value="变更部门code")
    private String deptCode;

    /**
     * 变更之前
     */
    @TableField(value = "from_info")
    @ApiModelProperty(value="变更之前")
    private String fromInfo;

    /**
     * 变更之后
     */
    @TableField(value = "to_info")
    @ApiModelProperty(value="变更之后")
    private String toInfo;

    /**
     * 类型
     */
    @TableField(value = "type")
    @ApiModelProperty(value="类型")
    private String type;

    /**
     * 备注
     */
    @TableField(value = "remark")
    @ApiModelProperty(value="备注")
    private String remark;

    /**
     * 软删除
     */
    @TableField(value = "del_flag")
    @ApiModelProperty(value="软删除")
    private Integer delFlag;

    private static final long serialVersionUID = 1L;

    public static final String COL_ID = "id";

    public static final String COL_CREATED_BY = "CREATED_BY";

    public static final String COL_CREATED_TIME = "CREATED_TIME";

    public static final String COL_DEPT_NAME = "dept_name";

    public static final String COL_DEPT_CODE = "dept_code";

    public static final String COL_FROM_INFO = "from_info";

    public static final String COL_TO_INFO = "to_info";

    public static final String COL_TYPE = "type";

    public static final String COL_REMARK = "remark";

    public static final String COL_DEL_FLAG = "del_flag";
}